From: Andrea Corallo Date: Thu, 27 Jun 2024 13:32:03 +0000 (+0200) Subject: Fix two tests for --without-all build X-Git-Tag: archive/raspbian/1%30.1+1-3+rpi1^2~14^2~18^2~864 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=6f9f9a2155542d6452847a9311772c399298c4c8;p=emacs.git Fix two tests for --without-all build * test/src/image-tests.el (image-tests-image-mask-p/error-on-nongraphical-display) (image-tests-image-metadata/error-on-nongraphical-display): xpm images are not supported in all configurations so use xbm for non graphical display tests. --- diff --git a/test/src/image-tests.el b/test/src/image-tests.el index 24e60fb100f..e321b80e7a8 100644 --- a/test/src/image-tests.el +++ b/test/src/image-tests.el @@ -49,11 +49,11 @@ (ert-deftest image-tests-image-mask-p/error-on-nongraphical-display () (skip-when (display-images-p)) - (should-error (image-mask-p (cdr (assq 'xpm image-tests--images))))) + (should-error (image-mask-p (cdr (assq 'xbm image-tests--images))))) (ert-deftest image-tests-image-metadata/error-on-nongraphical-display () (skip-when (display-images-p)) - (should-error (image-metadata (cdr (assq 'xpm image-tests--images))))) + (should-error (image-metadata (cdr (assq 'xbm image-tests--images))))) (ert-deftest image-tests-imagemagick-types () (skip-unless (fboundp 'imagemagick-types))